package com.gxa.p2p.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

/**
 * 风控认证材料
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "风控认证的实体类", description = "该类表示每一条风控信息的实体对象")
public class CertificateMaterial implements Serializable {

    private static final long serialVersionUID = 657629030574486928L;
    private Integer id;
    /**
     * 用户ID
     */
    private Integer userId;
    /**
     * 风控材料评分
     */
    @ApiModelProperty(value = "风控材料评分", dataType = "String")
    private Integer reviewScore;
    /**
     * 家属身份证正面
     */
    private String familiesIdCardFront;
    /**
     * 家属身份证反面
     */
    private String familiesIdCardBack;
    /**
     * 户口簿个人页
     */
    private String personalFamilyRegister;
    /**
     * 借款承诺
     */
    private String loanCommitment;
    /**
     * 银行流水
     */
    private String bankFlow;
    /**
     * 征信报告
     */
    private String creditReport;
    /**
     * 驾驶证
     */
    private String driverCard;
    /**
     * 学历证明
     */
    private String graduationCertificate;
    /**
     * 审核状态
     */
    private Integer reviewStatus;
    /**
     * 审核备注
     */
    private String reviewNote;
    /**
     * 创建时间
     */
    private Date createDate;
    /**
     * userinfo 对象
     */
    private UserInfo userInfo;
    /**
     * guaranteeInfo 对象
     */
    private GuaranteeInfo guaranteeInfo;

}